home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / LORD2B6.ZIP / PORTTOWN.REF < prev    next >
Text File  |  1997-05-18  |  20KB  |  1,109 lines

  1. ;porttown and surrounding areas
  2.  
  3. @#JUNKMAN1
  4. @do moveback
  5. @do saybar
  6. Ahh... Comfy chair!  Not like that one bed at Stonepass Lodge...
  7.  
  8. @#JUNKMAN2
  9. @do moveback
  10. @busy
  11. @show
  12. `r0`c
  13.  
  14.  
  15.                      `0"What would ya like to part with, kid?"
  16.  
  17. @sellmanager
  18.  
  19. @drawmap
  20. @update
  21.  
  22. @#FISH
  23. @offmap
  24. @do moveback
  25. @show
  26. `r0`c  `r1  `%The House O' Fish  `r0
  27.  
  28.   `2People are buying and selling fish all over the place!  You also see
  29.   some nice rods in a corner.  A man introduces himself as `0Smithy`2 and
  30.   asks what you need. 
  31.  
  32. @do `v01 is 1
  33. @do write
  34. `x`x
  35. @choice
  36. Buy something
  37. Sell some fish
  38. Conduct business with Smithy
  39. Leave
  40. @if response is 3 then do
  41.   @begin
  42.   @do `p20 is 2
  43.   @run getquest in quest.ref
  44.   @closescript
  45.   @end
  46.  
  47. @if response is 1 then do
  48.   @begin
  49.   @do write
  50. `\`\
  51.   @buymanager
  52.   28
  53.   29
  54.   @do goto fish
  55.   @end
  56.  
  57. @if responce is 2 then do
  58.   @begin
  59.   @label fishsell
  60.   @show
  61. `c  `r1  The market place  `r0
  62.  
  63.   `2You walk up to a fish bin and show 'em what you got.
  64.  
  65.   `2You are holding `$$&money`2.
  66.  
  67. @do write
  68. `x`x
  69. @do `v01 is 1
  70. @choice
  71. <`i29 1 <`i30 1 You have no fish to sell.
  72. >`i29 0 Sell a Salmon for `$$50`%. `2(you have `0`i29`2)
  73. >`i30 0 Sell a Sparking Green Salmon for `$$250`%. `2(you have `0`i30`2)
  74. >`i29 0 <`i30 1 Sell nothing
  75. >`i30 0 <`i29 1 Sell nothing
  76. >`i30 0 >`i29 0 Sell nothing
  77. @if responce is 2 then do
  78.   @begin
  79.   @show
  80. `\`\  `0"Thank you for the fish, s&sir!"
  81.  
  82. `k
  83.   @do money + 50
  84.   @do `i29 - 1
  85.   @do goto fishsell
  86.   @end
  87. @if responce is 3 then do
  88.   @begin
  89.   @show
  90. `\`\  `0"My god?!? Where did you catch this?!?  Thank you!"
  91.  
  92. `k
  93.   @do money + 250
  94.   @do `i30 - 1
  95.   @do goto fishsell
  96.   @end
  97.  
  98.  @do goto fish
  99.  
  100.  @end
  101.  
  102. @drawmap
  103. @update
  104.  
  105. @#man
  106. ;Helpfull man in Porttown
  107. @do moveback
  108. @do `p20 random 9 1
  109. @if `p20 is 1 then saybar
  110. `%Guy: `0I hear the longer boat rides are relaxing.
  111. @if `p20 is 2 then saybar
  112. `%Guy: `0I hear there's a shortcut through the Snowy Pass!
  113. @if `p20 is 3 then saybar
  114. `%Guy: `0Watch out for the girls at the inn here...
  115. @if `p20 is 4 then saybar
  116. `%Guy: `0I hear the dark forest is a terrible place.
  117. @if `p20 is 5 then saybar
  118. `%Guy: `0A sailor told me of an undiscovered island once!
  119. @if `p20 is 6 then saybar
  120. `%Guy: `0The Hag's place is the safest place in town!
  121. @if `p20 is 7 then saybar
  122. `%Guy: `0Did you know Mr T. is Great!?
  123. @if `p20 is 8 then saybar
  124. `%Guy: `0On the other two continents I hear life is really exciting.
  125. @if `p20 is 9 then saybar
  126. `%Guy: `0Watch for the oracle!
  127.  
  128.  
  129. @#WHORE
  130. ;random things that happen walking around the sea hag hotel
  131. @if sexmale is 0 then do
  132.   @begin
  133.   ;if they are female, don't run this... sorry girls, no female version
  134.   ;was written.
  135.   @closescript
  136.   @end
  137. @if `v06 is 1 then do
  138.   @begin
  139.   ;clean mode is on, lets get the hell out of this routine!!
  140.   @closescript
  141.   @end
  142. @busy
  143. @do write
  144. `r1
  145. @clearblock 21 21
  146. @do move 3 21
  147. @do write
  148. `r0  `2A skanky looking woman pulls your arm.  Speak with her? [`0Y`2/`0N`2] :`x
  149. @do readspecial `s01 YN
  150.  
  151. @if `s01 is N then do
  152.   @begin
  153.   @if `07 < 5 then do
  154.     @begin
  155.     ;person is evil
  156.     @do saybar
  157. You brutally kick her in the face.
  158.     @closescript
  159.     @end
  160.   @do saybar
  161. You push her away.  Poor lost soul.
  162.    @closescript
  163.   @end
  164.  
  165. @show
  166. `c  `r1`% Close encounters with the whore kind  `r0
  167.  
  168. `0  "Looking for a good time, sir?  Only `$$25`0." `2she drolls.
  169.  
  170. `2  Not a bad price, but her clothes are ragged and her face dirty... Would
  171.   it be safe?
  172.  
  173. @do write
  174. `x`x
  175. @do `v01 is 1
  176. @choice
  177. Why not?  Daddy needs to relax a little bit.
  178. Not today.
  179. @if response is 1 then do
  180.   @begin
  181.   @if money < 25 then do
  182.     @begin
  183.     @show
  184. `\`\  `2You lack the funds for a whore right now.
  185.  
  186. `k
  187.     @drawmap
  188.     @update
  189.     @closescript
  190.     @end
  191.   @do money - 25
  192.   @do x is 54
  193.   @do y is 12
  194.   @do `p20 is random 5 1
  195.   @if `p20 is 1 then do
  196.     @begin
  197.     ;ha ha, user caught vd
  198.     @do `p12 is 1
  199.     @end
  200.   @show
  201. `\`\  `2She leads you to her bed.
  202.  
  203. `k`c  `r1  All Aboard  `r0
  204.  
  205. `2  You remove her garments - as you touch her skin flakes fall off in
  206.   your hand.  You shudder as a finger brushes over a large open sore on her
  207.   back.
  208.  
  209. `k  It is over quickly.  Your reverie is interrupted by the sound of wretching
  210.   in a corner.  She seems sick.
  211.  
  212.   `4THERE IS A 20 PERCENT CHANCE THAT YOU JUST CAUGHT SOMETHING.
  213.  
  214. `k
  215.   @drawmap
  216.   @update
  217.   @do saybar
  218. You put your pants back on.
  219.   @closescript
  220.   @end
  221.  
  222. @show
  223. `\`\  `$"I do not desire your services right now, woman," `2you inform
  224.   her.
  225.  
  226. `k
  227. @drawmap
  228. @update
  229.  
  230. @#inn
  231. ;this is for the sea hag hotel
  232. @do `v01 is 1
  233. @offmap
  234. @do moveback
  235. @show
  236. `r0`c  `%`r1  THE SEA HAG HOTEL  `r0
  237.  
  238.   `2This place looks a little campy - slack jaws sea harlots wander around
  239.   the rooms aimlessly.
  240.  
  241.   A balding woman with a few teeth missing smiles warmly you at you.
  242.  
  243.   You are holding `$$&money`2.
  244.  
  245. @do write
  246. `x`x
  247. @choice
  248. Get a room (`$$50`%)
  249. Leave
  250. @if response is 1 then do
  251.   @begin
  252.   @if money < 50 then do
  253.     @begin
  254.     @show
  255. `\`\`2  You are short on cash.  Pretty sad when you can't even afford to stay
  256.   here...
  257.  
  258. `k
  259.     @drawmap
  260.     @update
  261.     @closescript
  262.     @end
  263.    @show
  264. `\`\  `2You give the woman the cash.  She leads you inside...
  265. `\`k
  266.   ;has enough money
  267.    @do money - 50
  268.    @do x is 24
  269.    @do y is 4
  270.    @do map is 153
  271.    @loadmap 153
  272.    @drawmap
  273.    @update
  274.    @closescript
  275.   @end
  276.  
  277. @drawmap
  278. @update
  279.  
  280. @#heal
  281. @offmap
  282. @do moveback
  283. @do `v01 is 1
  284. @show
  285. `r0`c  `r1  PortTown Healing  `r0
  286.  
  287. `2  Hoss looks you over for wounds.
  288.  
  289. @do write
  290. `x`x
  291. @if `p02 < `p03 then do
  292.  @begin
  293. @do `p20 is `p03
  294. @do `p20 - `p02
  295. @do `p20 / 2
  296.  
  297.  
  298.  @show
  299. `0"You don't look so good, friend!  I'll fix ya up for `$`p20`0 gold, k?"
  300.  
  301. @do write
  302. `x`x
  303. @choice
  304. Heal yourself for `$$`p20`%. (you have `$$&money`%)
  305. Limp on out.
  306. @show
  307. `\
  308. @if response is 1 then do begin
  309.  @begin
  310.  @if money < `p20 then do
  311.   @begin
  312.   @show
  313.   `0"Sorry old s&boy, we don't do charity work here."
  314.  
  315.  @do write
  316. `x`x
  317.  @choice
  318. Well Christ!  How am I supposed to make money when I can barely walk?
  319. Jesus, how 'bout a little compassion for once in your life old man!
  320. How 'bout some of your 'special' pills then?
  321. Yes sir.
  322. @show
  323.  
  324.  
  325. @if response is 4 then do
  326.  @begin
  327.  @show
  328.   `0"That's a good lad, now get along with you!" `2 he laughs.
  329.  
  330. `k
  331.  @end
  332.  
  333. @if response is 1 then do
  334.  @begin
  335.  @show
  336.   `0"Damn it, s&boy, be a s&man for once in your life!"`2 he yells.
  337.  
  338. `k
  339.  @end
  340. @if response is 2 then do
  341.  @begin
  342.  @show
  343.   `0"I cannot respect a man who doesn't work," `2Hoss informs you.
  344.  
  345. `k
  346.  @end
  347. @if response is 3 then do
  348.  @begin
  349.  @do `p02 = 1
  350.  @show
  351.   `0"Sure.  Take uh.. these." `2 he snickers.
  352.  
  353.   `2You gulp down the weird black pills
  354.  
  355.   `4HIT POINTS GO DOWN TO 1.
  356.  
  357. `k
  358.  @end
  359.  
  360.   @drawmap
  361.   @update
  362.   @closescript
  363.   @end
  364.  
  365. @do money - `p20
  366. @do `p21 = `p03
  367. @do `p21 - `p02
  368. @do `p02 = `p03
  369. @show
  370.   `2You feel much better as `0`p21`2 hitpoints are restored.
  371.  
  372. `k
  373.   @end
  374.   @drawmap
  375.   @update
  376.   @closescript
  377. @end
  378.  
  379. @show
  380. `0"You have no ailments, come back later!" `2Hoss laughs.
  381.  
  382. `k
  383. @drawmap
  384. @update
  385.  
  386.  
  387. @#PIRATE
  388. ;The pirate ship
  389. @DO MOVEBACK
  390. @BUSY
  391. @DO `v01 is 1
  392. @SHOW
  393. `r0`c  `r1 Look a Pirate ship!! `r0
  394.  
  395.   `2The guard yells `0"Arrr, I be a pirate, and you be on me ship.  What do
  396.   you want you land lover?"
  397.                       
  398. @DO WRITE
  399. `x`x
  400. @CHOICE
  401. Ask some pirate trivia
  402. Can I become a pirate?
  403. @IF RESPONSE IS 1 THEN DO
  404. @Begin
  405. @Show
  406. `\`\  `$"What's another name for pirate treasure?"`2 you ask.
  407. `\`k  `0"I believe that'd be booty!!!" `2he replies.
  408. `\`k
  409. @DRAWMAP
  410. @UPDATE        
  411. @CLOSESCRIPT
  412. @End
  413. @IF RESPONSE IS 2 THEN DO
  414. @Begin
  415. @Show
  416. `\`\  `0"Arrr, I don't think ye be cool enough to join our drunken
  417.    crew quite yet," `2the scurvy pirate replies.
  418. `\`k
  419. @DRAWMAP
  420. @UPDATE
  421. @CLOSESCRIPT
  422. @End
  423.  
  424. @#CARGO
  425. ;The Cargo ship
  426. @DO MOVEBACK
  427. @BUSY
  428. @DO `v01 is 1
  429. @SHOW
  430. `r0`c  `r1 Looks like a cargo ship `r0
  431.  
  432.   `2A deckman approaches you `0"We're headed to ArrisVille.  Do you have any
  433.   thing that need to be transported there?"
  434.                       
  435. @DO WRITE
  436. `x`x
  437. @CHOICE
  438. Nope, not really
  439. Stowaway on board
  440. @IF RESPONSE IS 1 THEN DO
  441. @Begin
  442. @Show
  443. `\`\  `$"Nope just taking a look around,"`2 you reply.
  444. `\`k
  445. @DRAWMAP
  446. @UPDATE        
  447. @CLOSESCRIPT
  448. @End
  449. @IF RESPONSE IS 2 THEN DO
  450. @Begin
  451. @Show
  452. `\`\  `$"Nothing much," `2you say.  He turns and walks away.  `$"Except for
  453.    myself," `2you laugh as you sneak under deck. (unfinished!!)
  454. `\`k
  455. @DRAWMAP
  456. @UPDATE
  457. @CLOSESCRIPT
  458. @End
  459.  
  460. @#TRAVEL
  461. ;The travel offices
  462. @DO MOVEBACK
  463. @BUSY
  464. @DO `v01 is 1
  465. @SHOW
  466. `r0`c  `r1`% PortTown Travel `r0
  467.  
  468.   `0"Welcome to PortTown travel, how may I help you?" `2Asks a receptionist.            
  469. @DO WRITE
  470. `x`x
  471. @CHOICE
  472. Purchase a world map
  473. Buy a ticket for somewhere
  474. Leave
  475. @IF RESPONSE IS 1 THEN DO
  476. @Begin
  477. @Show
  478. `\`\  `$"I'd like to get a map,"`2 you reply.
  479. `\`k  `0"Okay that'll be 20 gold,"`2 she states.
  480.  
  481. @if money < 20 then do
  482.         @BEGIN
  483.         @show
  484.   `2You don't have that much, so naturally you take it out on her.
  485.  
  486. `k  `$"Look you stupid wench, since when do maps cost that much?!?! You just
  487.   lost a customer, lady!" `2you scream.
  488.  
  489. `k  `2You see tears in her eyes as you storm out the door.
  490. `\`k
  491.         @DRAWMAP
  492.         @UPDATE
  493.         @CLOSESCRIPT
  494.         @End
  495. @show
  496. `2  You plop down the money.`\`\`k
  497. @do money - 20
  498. @do `i20 + 1
  499. @DRAWMAP
  500. @UPDATE        
  501. @CLOSESCRIPT
  502. @End
  503.  
  504. @IF RESPONSE IS 2 THEN DO
  505. @Begin
  506. @Show
  507. `\`\  `$"I need to get out of town," `2you say.  She smiles, `0"Okay where
  508.    would you like to go?" `2You review your choices.
  509.  
  510. `k
  511. @show
  512. `r0`c                         `r1 `%Porttown Booking Center
  513.  
  514.  
  515. @buymanager
  516. 26
  517. 27
  518. 33
  519. @do goto TRAVEL
  520. @End
  521.  
  522.  
  523. @IF RESPONSE IS 3 THEN DO
  524. @Begin
  525. @Show
  526. `\`\  `$"Sorry wrong building,"`2 you say as you saunter out the door.
  527. `\`k
  528. @DRAWMAP
  529. @UPDATE        
  530. @CLOSESCRIPT
  531. @End
  532.  
  533. @#MART
  534. ;The quicke mart (tm) 
  535. @DO MOVEBACK
  536. @BUSY
  537. @DO `v01 is 1
  538. @label martstart
  539. @SHOW
  540. `r0`c  `r1`% Wow, they have everything in here `r0
  541.  
  542.   `2The clerk behind the counter greets you `0"Oh my golly-gosh, customers!!
  543.   How ever my I help you?"
  544.                       
  545. @DO WRITE
  546. `x`x
  547. @CHOICE
  548. Ask for some beef-jerky
  549. Get a super squishie for 1 gold
  550. Check out five for supplies
  551. Leave
  552. @if responce is 4 then do
  553.  @begin
  554.  @drawmap
  555.  @update
  556.  @closescript
  557.  @end
  558.  
  559. @IF RESPONSE IS 3 THEN DO
  560. @Begin
  561. @Show
  562. `\`\  `$"I need to get some new gear," `2you say.  He smiles, `0"Okie Doaky
  563.   I hope you enjoy our fine selection of death tools."  `2You review your
  564.   choices.
  565.  
  566. `k
  567. @show
  568. `r0`c                         `r1 `%Quick-E Mart Stuff
  569.  
  570.  
  571. @buymanager
  572. 35
  573. 36
  574. 37
  575. @do goto martstart
  576. @End
  577.  
  578. @IF RESPONSE IS 1 THEN DO
  579. @Begin
  580. @Show
  581. `\`\  `2You take a look at the jerky, you're pretty sure you're better off
  582.   eating something you killed outside.`%
  583. `\`k
  584. @DO goto martstart
  585. @End
  586. @IF RESPONSE IS 2 THEN DO
  587. @Begin
  588. @if money < 1 then do
  589.   @begin
  590.   @show
  591. `\`\  `0"Are trying to be ripping me off, s&sir?!  You shall not taste a single
  592.   drop of my wonderful liquid!"
  593.  
  594. `k
  595.   @do goto martstart
  596.   @end
  597. @do money - 1
  598. @Show
  599. `\`\  `$"Give me a super squishie, one that's made entirely out of syrup," `2you
  600.   command.
  601.   `0"An all syrup super squishie?  Oh such a thing has never been done," `2the
  602.   clerk gasps.
  603. `\`k  `$"Just make it happen," `2you say as you lay down the dough.
  604.   `0"Oh dear," `2he moans and turns towards the machine.  It begins to
  605.   rumble, you feel the walls shake.  `0"Oh no, she's breaking up," `2he
  606.   yells....
  607. `\`k  `5DING!
  608. `\`k  `2The clerk turns and hands you your squishie.  `0"All done, if you
  609.   survive, please come again."
  610. `\`k
  611. @DRAWMAP
  612. @UPDATE
  613. @CLOSESCRIPT
  614. @End
  615.  
  616. @#bank
  617. @do `v01 is 1
  618. @offmap
  619. @do moveback
  620. @label bankstart
  621. @show
  622. `r0`c  `r1 `%2nd Bank Of PortTown `r0
  623.  
  624. `2  A young clerk eyes you nervously.
  625.  
  626. @if bank more 0 then do
  627.  @begin
  628.  @show
  629. `2  You are holding `$$&money`2, your account is at `$$&bank`2.
  630.  
  631.  @end
  632.  
  633. @if bank is 0 then do
  634.  @begin
  635.  @show
  636. `2  You currently don't have an account with them.
  637.  
  638.  @end
  639.  
  640. @do write
  641. `x`x
  642. @choice
  643. >&bank 0 Make a deposit.
  644. >&bank 0 Make a withdraw.
  645. =&bank 0 Apply for an account here.
  646. Leave
  647. @if response is 3 then do
  648.   @begin
  649.   @do `v01 is 1
  650.   @show
  651.  
  652.  
  653.   `2The nervous boy asks you to sit down.
  654.  
  655.   `0"Your full name s&sir?"
  656.   @do `s01 is NIL
  657.   @do write
  658. `x`x
  659.   @do readstring 30 `s01
  660.   @show
  661.  
  662.  
  663.   `0"Your current residence?"
  664.  
  665.   @do write
  666. `x`x
  667.   @do readstring 50 `s01
  668.  
  669.   @show
  670.  
  671.  
  672.   `0"Your net income yearly?"
  673.  
  674.   @do write
  675. `x`x
  676.   @do readnum 10
  677.   @if `v40 less 20 then do
  678.   @begin
  679.   @show
  680.  
  681.   @end
  682.  
  683.   @if `v40 more 19 then do
  684.    @begin
  685.    @show
  686.  
  687.  
  688.   `2You giggle to yourself `0-`2 how will they know you just totally lied on
  689.   that last questions?!??  You only made `b19`2 gold pieces last year!
  690.   @end
  691.   @label bankagain
  692.   @show
  693.  
  694.   `0"How much would you like to open your account with?" `2(you have `$$&money`2)
  695.  
  696.   @do write
  697. `x`x
  698.   @do readnum 10 money
  699.   @if `v40 is 0 then do
  700.    @begin
  701.    @show
  702.  
  703.  
  704.   `2You decide you really don't want to open an account with this
  705.   branch.
  706.  
  707. `k
  708.   @do goto bankstart
  709.   @end
  710.  
  711.   @if `v40 > money then do
  712.    @begin
  713.    @show
  714.  
  715.  
  716. `2  You don't have this much!  Try again.
  717.    @do goto bankagain
  718.    @end
  719.  
  720.   @if `v40 < 50 then do
  721.   @begin
  722.   @if money < 50 then do
  723.    @begin
  724.   @show
  725.  
  726.   `2The clerk eyes your shabby clothing distastefully - as if he knew
  727.   this part was coming.
  728.  
  729.   `0"I'm sorry s&sir, we do require `$$50 `2to open an account.  And could
  730.   you please leave the pen on your way out." `2he asks haughtily.
  731.  
  732. `k  `2You carefully return the pen.  `$"I'll be back someday.  And you WILL
  733.   open an account for me then," `2you vow seriously.
  734.  
  735.   `0"Of course you will, s&sir.  Please exit now, remember, the sign does
  736.   say no loitering.  And this means you." `2he says as he points to the
  737.   door.
  738.  
  739. `k
  740. @drawmap
  741. @update
  742. @closescript
  743.    @end
  744.  
  745.   @show
  746.  
  747.  
  748.   `0"S&Sir, `$$50 `0is required to open a new account!"
  749.   @do goto bankagain
  750.   @end
  751.   @do money - `v40
  752.   @do bank + `v40
  753.   @show
  754.  
  755.  
  756.   `0"Very good S&sir!  Your new account has been opened!"
  757.  
  758. `k
  759.   @do goto bank
  760.   @end
  761.  
  762.  
  763. @if response is 1 then do
  764.   @begin
  765.   @do write
  766. `\
  767.   @label deposit
  768.   @do write
  769. `\  `0"Deposit how much, s&sir?"`\`\`x`x
  770.   @do readnum 10 money
  771.   @if `v40 more money then do
  772.   @begin
  773.   @show
  774. `\`\  `2Maybe you left the money in your other pants?  'cuz it sure ain't here.
  775.   @do goto deposit
  776.   @end
  777.   @if `v40 less 0 then do
  778.   @begin
  779.   @show
  780. `\`\  `2No, this isn't happening and you aren't here.
  781.   @do goto withdraw
  782.   @end
  783.  
  784.   @do money - `v40
  785.   @do bank + `v40
  786.   @do goto bankstart
  787.  
  788.   @end
  789.  
  790. @if response is 2 then do
  791.   @begin
  792.   @do write
  793. `\
  794.   @label withdraw
  795.   @do write
  796. `\  `0"Withdraw how much, s&sir?"`\`\`x`x
  797.   @do `p21 is bank
  798.   @do `p21 - 1
  799.   @if `p21 < 0 then `p21 is 0
  800.   @do readnum 10 `p21
  801.   @if `v40 more bank then do
  802.   @begin
  803.   @show
  804. `\`\  `2You kind of don't have that much in your account.  Nice bookeeping!
  805.   @do goto withdraw
  806.   @end
  807.  
  808.   @if `v40 less 0 then do
  809.   @begin
  810.   @show
  811. `\`\  `2No, I don't think so.
  812.   @do goto withdraw
  813.   @end
  814.  
  815.   @if `v40 is bank then do
  816.    @begin
  817.    @show
  818.  
  819.  
  820.   `0"But s&sir!  This will close your account with us, are you sure you wish
  821.   to do that?" `2the clerk chokes.
  822.  
  823.   @do write
  824. `x`x
  825.   @do `v01 is 1
  826.   @choice
  827. Ok, nevermind then.
  828. Yeah.  Get my damn money.
  829. @if response is 1 then goto bank
  830.  
  831.    @end
  832.  
  833.   @do money + `v40
  834.   @do bank - `v40
  835.   @do goto bankstart
  836.   @end
  837.  
  838.  
  839.  
  840. @drawmap
  841. @update
  842.  
  843.  
  844. @#HANG
  845. ;For sitting at the benches for public execution
  846. @DO SAYBAR
  847. `2You'd sit to watch an execution but there isn't one today...
  848.                                                               
  849. @#NOTDONE
  850. @DO SAYBAR
  851. `2Area unfinished.  Check back when beta ... 6 is ready.
  852. @do moveback
  853.  
  854. @#FISHDOCK
  855. ;Fishing dock...
  856. @do moveback
  857.  
  858. @if `i28 < 1 then do
  859.   @begin
  860.   ;person doesn't have fishing pole
  861.   @DO SAYBAR
  862. `2You doubt you would catch anything with your s&weapon...
  863.   @closescript
  864.   @end
  865.  
  866.  
  867. @if `t10 < 1 then do
  868.   @begin
  869.   @do saybar
  870. You have caught all the fish in the stream.  Maybe tomorrow.
  871.   @closescript
  872.   @end
  873.  
  874. @busy
  875. @do write
  876. `r1
  877. @clearblock 21 21
  878. @do move 3 21
  879. @do write
  880. `r0  `2Wanna try your luck fishing? [`0Y`2/`0N`2] :`x
  881. @do readspecial `s01 YN
  882.  
  883. @if `s01 is N then do
  884.   @begin
  885.   @do saybar
  886. Maybe later when the fish are biting.
  887.   @closescript
  888.   @end
  889.  
  890. @label fishcast
  891.  
  892. @do `p20 is `i29
  893. @do `p20 + `i30
  894. @do `s01 is `p20
  895. @if `s01 is 0 then `s01 is no
  896.  
  897. @show
  898. `r0`c  `r1  `%The Fishing Dock  `r0
  899.  
  900.   `2You sit yourself down on the dock and relax a bit.
  901.  
  902.   You have `s01 fish.
  903.  
  904. @do write
  905. `x`x
  906. @do `v01 is 1
  907. @choice
  908. Cast far
  909. Cast short
  910. Get up and leave
  911. @if responce is 3 then do
  912.   @begin
  913.   @drawmap
  914.   @update
  915.   @closescript
  916.   @end
  917.  
  918. @if response is 1 then do
  919.   @begin
  920.   @do `p20 random 80 20
  921.   @show
  922. `\`\  `2You whip your rod fast and watch as your hook plops down
  923.   about `0`p20`2 feet away.
  924.  
  925. @end
  926.  
  927. @if response is 2 then do
  928.   @begin
  929.   @do `p20 random 20 1
  930.   @show
  931. `\`\  `2You gently cast the pole.  Your hook makes a soft splash
  932.   about `0`p20 `2feet away.
  933.  
  934. @end
  935.  
  936.  
  937. @do write
  938.   `2You wait.`l.`l.`l.`l.
  939. @if `t10 < 1 then do
  940.   @begin
  941.   @show
  942. `4No fish are biting.`2
  943.  
  944.   It looks like the action is finished for today.
  945.  
  946. `k
  947.   @do goto fishcast
  948.   @end
  949. @do `p20 random 2 1
  950. @if `p20 is 1 then do
  951.    @begin
  952.    @show
  953. `4Nothing happens.
  954.  
  955. `2  You reel the line back in.
  956.  
  957. `k
  958.    @do goto fishcast
  959.    @end
  960. @if `p20 is 2 then do
  961.    @begin
  962.    @show
  963. `%You have a bite!`2
  964.  
  965. @do write
  966. `k
  967. @do `p20 random 4 1
  968. @IF `P20 IS 1 then do
  969.   @begin
  970.   ;catching a special fish
  971.   @show
  972.   The fish is suprisingly strong!  But you reel it in slowly...
  973.  
  974. @do write
  975. `k
  976. @do `p20 random 4 1
  977. @IF `P20 IS 1 then do
  978.    @begin
  979.    @show
  980.   `bTHE LINE BREAKS!
  981.  
  982.   `2The mighty fish has escaped.
  983.  
  984. `k
  985.    @do goto fishcast
  986.    @end
  987.   @show
  988.   `2You have just caught a `0Sparkling Green Salmon`2!
  989. `\`k
  990.   @do `i30 + 1
  991.   @do `t10 - 1
  992.   @do goto fishcast
  993.   @end
  994.  
  995.   @show
  996.   You slowly reel the fish to shore.
  997.  
  998. `k  You have caught a Salmon.
  999.  
  1000. `k
  1001.    @do `i29 + 1
  1002.    @do `t10 - 1
  1003.    @do goto fishcast
  1004.    @end
  1005.  
  1006.  
  1007.   @end
  1008.  
  1009.  
  1010.  
  1011. @#WATERFALL
  1012. ;Looking at the waterfall.
  1013. @DO SAYBAR
  1014. `2How nice!
  1015. @do moveback
  1016.  
  1017. @#WATERSIGN
  1018. ;Sign at the water fall.
  1019. @DO SAYBAR
  1020. `2To waterfall observation dock.
  1021. @do moveback
  1022.  
  1023. @#TREES
  1024. ;At the trees in the passage by the town
  1025. @DO SAYBAR
  1026. `2A spooky patch of autumn trees
  1027.  
  1028. @#shrine
  1029. @do `v01 is 1
  1030. @do moveback
  1031. @busy
  1032. @show
  1033. `r0`c  `r1`%  THE SHRINE OF BABOS  `r0`\
  1034. `2  You kneel in front of the shrine and meditate.`\
  1035. @
  1036.  
  1037. @if `v04 > 4 then do
  1038.   @begin
  1039.   @show
  1040. `k  Nothing happens.`\`\`k
  1041.   @drawmap
  1042.   @update
  1043.   @closescript
  1044.   @end
  1045.  
  1046. @if `v04 is 0 then do
  1047.   @begin
  1048.   @show
  1049. `k  Nothing happens.  Maybe if you came on the right day...`\`\`k
  1050.   @drawmap
  1051.   @update
  1052.   @closescript
  1053.   @end
  1054.  
  1055.  
  1056.  
  1057. @if `t09 is 1 then do
  1058.   @begin
  1059.   @show
  1060. `k  Nothing happens.  You believe there may be limits to even a God's kindness.`\`\`k
  1061.   @drawmap
  1062.   @update
  1063.   @closescript
  1064.   @end
  1065.  
  1066.  
  1067. ;`v04: Lucky Shrine?: 1 = Money, 2, hitpoint, 3, strength 4 defence, else
  1068.  
  1069. @if `v04 is 1 then do
  1070.   @begin
  1071.   @show
  1072. `k  `$$500 `0magically appears in your pocket!`\`\`k
  1073.   @do money + 500
  1074.   @do `t09 is 1 
  1075.   @end
  1076.  
  1077. @if `v04 is 2 then do
  1078.   @begin
  1079.   @show
  1080. `k  `0You feel healthier!  You get two more hitpoints!`\`\`k
  1081.   @do `p03 + 2
  1082.   @do `p02 + 2
  1083.   @do `t09 is 1 
  1084.   @end
  1085.  
  1086. @if `v04 is 3 then do
  1087.   @begin
  1088.   @show
  1089. `k  `%Belar`0 makes you stronger.  You gain one muscle point!`\`\`k
  1090.   @do `p04 + 1
  1091.   @do `t09 is 1 
  1092.   @end
  1093.  
  1094. @if `v04 is 4 then do
  1095.   @begin
  1096.   @show
  1097. `k  `0You feel the gods protecting you.  You gain one dodge point!`\`\`k
  1098.   @do `p05 + 1
  1099.   @do `t09 is 1 
  1100.   @end
  1101.  
  1102.   @drawmap
  1103.   @update
  1104.   @closescript
  1105.  
  1106.  
  1107. @#nomore
  1108.  
  1109.